<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="keywords" content="<?php echo $SystemSettings['setsys11']; ?>"/>
    <meta name="description" content="<?php echo $SystemSettings['setsys12']; ?>"/>
    <title><?php echo $SystemSettings['setsys1']; ?></title>
    <!--使用最新浏览器内核进行渲染-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!--默认浏览器使用极速模式选软-->
    <meta name="renderer" content="webkit">
    <!--不允许缩放-->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
    <!-- Bootstrap -->
    <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/ysys-common.css">
    <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/ysys-everything.css">
    <link rel="stylesheet" href="<?php echo TPLPATH; ?>css/animate.min.css"/>
    <link rel="stylesheet" href="<?php echo TPLPATH; ?>css/ysys-response.css"/>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 8]>
    <script src="<?php echo TPLPATH; ?>js/html5shiv.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="<?php echo TPLPATH; ?>js/respond.min.js"></script>
    <![endif]-->
    <!--[if lt IE 9]>
    <script src="<?php echo TPLPATH; ?>js/html5shiv.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="<?php echo TPLPATH; ?>js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<!--导航-->
<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <!--导航条头部，logo+折叠展开按钮-->
        <div class="navbar-header">
            <a class="navbar-brand hidden-xs  logo " href="/ysys-index.html">
                <img class=" img-responsive" src="<?php echo TPLPATH; ?>images/yuanshanyangsheng/logo.png" alt="原山养生"/>
            </a>
            <a class="navbar-brand visible-xs text-center" href="/ysys-index.html">原山养生</a>
            <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar" style="background: #80b0e1"></span>
                <span class="icon-bar" style="background: #80b0e1"></span>
                <span class="icon-bar" style="background: #80b0e1"></span>
            </button>
        </div>
        <!--折叠菜单-->
        <div class="collapse navbar-collapse" role="navigation">
            <ul class="nav navbar-nav pull-left">
                <li><a href="/index.html">黔韵原山</a></li>
                <li><a href="/yangsheng/suoyang.html">关于养生</a></li>
                <li class="active"><a href="/yangsheng/news_1.html">养生资讯</a></li>
            </ul>
        </div>
    </div>
</nav>
<!--banner轮播-->
<div class="banner">
    <div id="carousel" class="carousel slide" data-ride="carousel">
        <ol class="carousel-indicators">
            <?php $linksid = getlinksdata(130) ?>
            <?php foreach($linksid as $key=>$val){ ?>
            <li<?php if($key==0){ ?> class="active"<?php }?> data-target="#carousel" data-slide-to="<?php echo $key; ?>"></li>
            <?php }?>

        </ol>
        <div class="carousel-inner" role="listbox">
            <?php $linksid = getlinksdata(130) ?>
            <?php foreach($linksid as $key=>$val){ ?>
            <div <?php if($key==0){ ?> class="item active" <?php }else{ ?>class="item"{/else}<?php }?> id="carousel<?php echo $key+1; ?>">
            <a href="<?php echo $val['sen_links6']; ?>"><img src="<?php echo $val['sen_links5']; ?>" alt="..."></a>
        </div>
        <?php }?>
    </div>
</div>
</div>
<!--新闻活动-->
<div class="b-new">
    <div class="b-newmain">
        <div class="container">
            <div class="connew">
                <div class="container">

                    <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_news=$T_db->table("sen_article")->order("sen_article4 desc")->where("sen_article1=139")->field("*")->limit("6")->page("page")->selectlist();
					header("pagelength:".$T_db->pagelens);
	 				$news_page=$T_db->htmlpageshow;
					$news_sql=$T_db->sql;
	 					if($l_news==null){
 							$l_news=array();
 							echo "暂无数据!";
 						}
 						$news_count=count($l_news);
	 					foreach($l_news as $news_key=>$news){
	 		?>
                    <div class="col-xs-12 col-sm-6 col-lg-4 comnews">
                        <div class="connew-box">
                            <div class="new-head">
                                <div class="timebg">
                                    <div class="day"><?php echo date('d',$news['sen_article4']) ?></div>
                                    <div class="year"><?php echo date('Y-m',$news['sen_article4']) ?></div>
                                </div>
                                <h4><?php echo $news['sen_article6']; ?></h4>
                            </div>
                            <div class="img">
                                <img class="img-responsive" src="<?php echo $news['sen_article7']; ?>">
                            </div>
                            <div class="newtext"><span class="p_3"><?php echo $news['sen_article8']; ?></span><a href="<?php echo $news['sen_article2']; ?>">更多&gt;&gt;</a></div>
                        </div>
                    </div>
                    <?php }?>

              </div>
            </div>
            <div>
                <?php echo $news_page; ?>
            </div>
        </div>
    </div>
</div>
<div class="footer">
    <div class="container text-center">
        <div class="rexian"><s>招商热线：<?php echo $SystemSettings['setsys4']; ?></s></div>
        <div style="font-size: 16px;margin:2% auto 1%;">地址：<?php echo $SystemSettings['setsys2']; ?>   咨询热线：<?php echo $SystemSettings['setsys5']; ?>    邮箱：<?php echo $SystemSettings['setsys8']; ?></div>
        <div class="erwei">
            <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_erweima=$T_db->table("sen_links")->order("")->where("sen_links1=131")->field("*")->limit("all")->page("")->selectlist();
					
	 				$erweima_page=$T_db->htmlpageshow;
					$erweima_sql=$T_db->sql;
	 					if($l_erweima==null){
 							$l_erweima=array();
 							echo "暂无数据!";
 						}
 						$erweima_count=count($l_erweima);
	 					foreach($l_erweima as $erweima_key=>$erweima){
	 		?>
            <img src="<?php echo $erweima['sen_links5']; ?>"/>
            <?php }?>
        </div>
    </div>
</div>
<div class="footer-text">
    <p>©2016 <?php echo $SystemSettings['setsys7']; ?>  <?php echo $SystemSettings['setsys10']; ?></p>
    <p>黔韵原山  地址：<?php echo $SystemSettings['setsys2']; ?></p>
</div>
</body>
</html>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="<?php echo TPLPATH; ?>js/jquery-1.11.3.js"></script>
<script src="<?php echo TPLPATH; ?>js/myself.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="<?php echo TPLPATH; ?>js/bootstrap.min.js"></script>
<script>
    $(function(){
        /*轮播*/
        $('#carousel').carousel();
        /*新闻中心*/
        $(".newactivity").conNew();
//    产业效果
        /*香草主题遮罩层*/
        $(".product ul li").hover(function(){
            $(this).find(".v-wrap").stop().animate({height:"100px"},400);
            $(this).find(".v-wrap h1").stop().animate({paddingTop:"0"},400);
        },function(){
            $(this).find(".v-wrap").stop().animate({height:"60px"},400);
            $(this).find(".v-wrap h1").stop().animate({paddingTop:"0px"},400);
        })
    })
</script>
